2-Categories

Instead of being a normal person and starting out with the definition of a 2-category, I'm gonna start out with some 2-categorical notions everyone already is familliar with (maybe).

  1. Adjunctions.

    An adjunction for functors , denoted , is given by

    • The unit natural transformation .
    • The counit natural transformation .
    • The snake identities which you probably remember.

    You might notice that we never really refer to the internal structure of the categories involved, other than in unfolding the definitions of functors and natural transformations.

  2. Kan Extensions.

    I present here only Right Kan Extensions. Given functors , the Right Kan Extension of along , denoted , is given by

    • A natural transformation .
    • The universal property being that given any other functor with a natural transformation , there is a unique natural transformation s.t. .

    Once again the only thing actually referring to the internal structure of a category are unfolding definitions of the things involved, not the things themselves.

  3. Monads.

    A monad is simply a monoid in the category of endofunctors- sorry I mean… monad is simply a lax 2-functor from to .- sorry wrong timing for that meme.

    Take 2: A monad is an endofunctor together with

    • The unit natural transformation .
    • The multiplication natural transformation .
    • Satisfying some relations that you also probably remember.

    I'm too lazy to write the same thing a third time, you know what I'm going to say here so pretend this sentence is what it was supposed to be.

There's definetly many other examples but this probably gets the point across. The notion of 2-categories helps us pin down this abstraction and focus on the general picture (hey that's just the motto of category theory all over again), which is:

  1. Objects (previously, categories)
  2. Morphisms (previously, functors between categories)
  3. Morphisms between morphisms (previously, natural transformations between functors)

So after all that "motivation", we now come to the definitions. A (weak) 2-category consists of:

A strict 2-category is the same thing but with identity 2-cells instead of isomorphisms .

A notion of categories should obviously come with a notion of functors, so we define that. A lax 2-functor between (weak) 2-categories consists of:

A strong 2-functor or a pseudo 2-functor is one where are isomorphisms. A strict 2-functor is where they are identity 2-cells.

Composition of lax 2-functors is easy to define:

The usual category theory diagram notation stuff is extended into what is called Pasting Diagrams. However, there is an alternate diagrammatic calculus for 2-category theory exploiting Poincare duality (idk how), called String Diagrams. The rest of the theory of 2-categories is continued in those articles.